<template>
    <div>
        <button @click="add">加</button>
        <button @click="reduce">减</button>
        {{ count }}
        <el-button type="primary" plain>
            Dropdown List<el-icon class="el-icon--right"><arrow-down /></el-icon>
        </el-button>
    </div>
</template>
<script setup lang="ts">
    import { onMounted, ref } from 'vue'
    const count = ref(5)
    onMounted(() => {
        console.log('123')
    })
    const add = () => {
        count.value++
    }
    const reduce = () => {
        count.value--
    }
</script>
